package com.dragon.app.thread;

public class ThreadLocalUtils {
	private static ThreadLocal<String> local1 = new ThreadLocal<String>() {
		protected String initialValue() {
			return "0";
		};
	};
	private static ThreadLocal<String> local2 = new ThreadLocal<String>() {
		protected String initialValue() {
			return "0";
		};
	};
	

	public static void main(String[] args) {
		System.out.println("local1:"+local1.get());
		local1.set("修改");
		System.out.println("local2:"+local2.get());
		System.out.println("local1:"+local1.get());
		

	}

}
